package com.baiwei.vpnapi.utils;

import com.baiwei.vpnapi.entity.VpnUser;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @program: vpnapi
 * @description: request 全局可访问数据
 * @author: Mr. Stone
 * @create: 2020-03-04 10:31
 **/
@Component()
@Scope("request")
public class ReqScopeEntity {
    private VpnUser currentUser;

    public VpnUser getCurrentUser() {
        return currentUser;
    }

    public void setCurrentUser(VpnUser currentUser) {
        this.currentUser = currentUser;
    }
}
